package com.cskaoyan.bean.cart;

import com.cskaoyan.bean.user.Address;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartCheckoutVo {

    /**
     * grouponRulesId : 0
     * actualPrice : 4992
     * orderTotalPrice : 4992
     * cartId : 0
     * userCouponId : 100
     * couponId : 72
     * goodsTotalPrice : 4995
     * addressId : 2
     * grouponPrice : 0
     * checkedAddress : {"id":2,"name":"刘师傅","userId":1,"province":"湖北省","city":"武汉市","county":"洪山区","addressDetail":"花山街道软件新城王道训练营1","areaCode":"420111","tel":"18675730267","isDefault":false,"addTime":"2021-08-30 17:53:55","updateTime":"2021-09-20 15:33:37","deleted":false}
     * couponPrice : 3
     * availableCouponLength : 5
     * freightPrice : 0
     * checkedGoodsList : [{"id":183,"userId":1,"goodsId":1181000,"goodsSn":"1181000","goodsName":"母亲节礼物-舒适安睡组合","productId":1,"price":999,"number":5,"specifications":["1.5m床垫*1+枕头*2","浅杏粉"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/1f67b1970ee20fd572b7202da0ff705d.png","addTime":"2021-09-20 16:20:23","updateTime":"2021-09-20 18:53:21","deleted":false}]
     */

    private int grouponRulesId;
    private int actualPrice;
    private int orderTotalPrice;
    private int cartId;
    private int userCouponId;
    private int couponId;
    private int goodsTotalPrice;
    private int addressId;
    private Double grouponPrice;
    private CartCheckoutAddressBean checkedAddress;
    private int couponPrice;
    private int availableCouponLength;
    private int freightPrice;
    private List<CartCheckedListBean> checkedGoodsList;
}
